<!-- indexer::stop -->
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<div class="tickertext" id="<?php echo $this->ticker[0]['tickerid']; ?>"> </div>
</div>
<?php
  echo "<script type=\"text/javascript\">\n"
      ."<!--\n"
      ."var delay=".$this->ticker[0]['speed'].";\n"
      ."var wartezeit=".$this->ticker[0]['wait'].";\n"
      ."var tickerid='".$this->ticker[0]['tickerid']."';\n";
  $msg = '';
  $jumpTo = '';
  foreach( $this->ticker as $tick ) {
    $msg .= "'".$tick['tickertext']."',";
    $jumpto .= "'".$tick['jumpTo']."',";
  }
  echo "var msg=new Array(" . substr( $msg, 0, -1 ) . ");\n"
      ."var jumpto=new Array(" . substr( $jumpto, 0, -1 ) . ");\n"
      ."// -->\n"
      ."</script>\n";
?>
<script type="text/javascript" src="system/modules/ticker/dhtml_ticker.js"></script>
<!-- indexer::continue -->
